Skip to main content

All Console Commands

All Console Commands for Project Zomboid

Summary

Server administrators can control the flow of a Project Zomboid server by using various in-game commands or by executing commands remotely from the server panel. Console commands vary greatly in their function, from adjusting settings to spawning items and vehicles or even enabling god mode. In addition to these functions, console commands are a quick and convenient way to moderate a server, allowing admins to kick, ban, or add new players to the server whitelist, all from in-game.

Requirement

Console commands can only be accessed by Server Admins.

CommandDescriptionSyntax
additemGives the designated item to a player./additem "user" "module.item"
addvehicleSpawns a vehicle./addvehicle "user"
addxpGives XP to the designated player./addxp "user" "perk=XP"
alarmSets off a building alarm at the admin's position./alarm
changeoptionChanges the designated server option./changeoption option="newOption"
chopperStarts a helicopter event on a random player./chopper
changepwdChanges the server password./changepwd "pwd" "newPwd"
createhordeSpawns a horde of zombies near the player./createhorde "number"
godmodeMakes a player invulnerable./godmode "user"
gunshotPlays a gunshot noise near the player./gunshot
helpOpens the help menu./help
invisibleMakes the player invisible to zombies./invisible "user"
noclipLets the player pass through solid objects./noclip "user"
quitSaves and exits the server./quit
releasesafehouseReleases ownership of a safehouse./releasesafehouse
reloadoptionsReloads the server options./reloadoptions
replayRecords or plays a replay for a player.`/replay "user" [-record
saveSaves the current world./save
sendpulseToggles server performance info sent to the client./sendpulse
showoptionsDisplays a list of current server options./showoptions
startrain / stoprainStarts or stops a rainstorm on the server./startrain / /stoprain
teleportBrings a player to you or brings you to them./teleport "toUser" or /teleport "user" "toUser"
teleporttoTeleports a player to specific coordinates./teleportto x,y,z
addalltowhitelistAdds all logged-in players to the server whitelist./addalltowhitelist
adduserAdds a new user to the whitelist./adduser "user" "pwd"
addusertowhitelist / removeuserfromwhitelistAdds or removes a specified user from the whitelist./addusertowhitelist "user"
banid / unbanidBans or unbans a player by their SteamID./banid "SteamID" / /unbanid "SteamID"
banuser / unbanuserBans or unbans a player by their username./banuser "user" / /unbanuser "user"
grantadmin / removeadminGives or removes admin rights to a player./grantadmin "user" / /removeadmin "user"
kickuserKicks the designated player from the server./kickuser "user"
playersLists all currently connected players./players
servermsgSends a message to all players logged into the server./servermsg "message"
setaccesslevelSets the permission level of a player.`/setaccesslevel "user" "[admin
voicebanBans a player from using in-game voice features.`/voiceban "user" [-true
Summary

Need to add or remove admin accounts?